<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: AbstractFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_abstract_factory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">AbstractFactory Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8h_source.html">DESIGNPATTERN_AbstractFactory.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for AbstractFactory:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory__inherit__graph.png" border="0" usemap="#_abstract_factory_inherit__map" alt="Inheritance graph"/></div>
<map name="_abstract_factory_inherit__map" id="_abstract_factory_inherit__map">
<area shape="rect" title=" " alt="" coords="197,5,423,244"/>
<area shape="rect" href="class_a_s_u_s_factory.html" title=" " alt="" coords="5,292,140,501"/>
<area shape="rect" href="class_d_e_l_l_factory.html" title=" " alt="" coords="164,292,299,501"/>
<area shape="rect" href="class_h_p_factory.html" title=" " alt="" coords="323,292,457,501"/>
<area shape="rect" href="class_m_i_x_factory.html" title=" " alt="" coords="481,292,616,501"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for AbstractFactory:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory__coll__graph.png" border="0" usemap="#_abstract_factory_coll__map" alt="Collaboration graph"/></div>
<map name="_abstract_factory_coll__map" id="_abstract_factory_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,231,244"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0ce427e8246baff926f0945d370bb419"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#a0ce427e8246baff926f0945d370bb419">~AbstractFactory</a> ()=0</td></tr>
<tr class="separator:a0ce427e8246baff926f0945d370bb419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdc7e42931561b9e59629a4bd0026c68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_abstract_computer.html">AbstractComputer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#abdc7e42931561b9e59629a4bd0026c68">CreateDesktopComputerNormal</a> ()</td></tr>
<tr class="separator:abdc7e42931561b9e59629a4bd0026c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab988a1ff535f4c2f0ea6bd3cfe418745"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_mouse.html">Mouse</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#ab988a1ff535f4c2f0ea6bd3cfe418745">CreateMouse</a> ()=0</td></tr>
<tr class="separator:ab988a1ff535f4c2f0ea6bd3cfe418745"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa10a0fd3ef457c7b9397c0a2001d86d4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_keyboard.html">Keyboard</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#aa10a0fd3ef457c7b9397c0a2001d86d4">CreateKeyboard</a> ()=0</td></tr>
<tr class="separator:aa10a0fd3ef457c7b9397c0a2001d86d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7853111b7db910e0a8953aa062bdf2c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_monitor.html">Monitor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#ab7853111b7db910e0a8953aa062bdf2c">CreateMonitor</a> ()=0</td></tr>
<tr class="separator:ab7853111b7db910e0a8953aa062bdf2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f87d3ac2fdef80bd009e26b7130e5fb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_host.html">Host</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#a5f87d3ac2fdef80bd009e26b7130e5fb">CreateHost</a> ()=0</td></tr>
<tr class="separator:a5f87d3ac2fdef80bd009e26b7130e5fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3d5b31d31c868bc633c30218e03d856"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#aa3d5b31d31c868bc633c30218e03d856">GetManufacturer</a> ()</td></tr>
<tr class="separator:aa3d5b31d31c868bc633c30218e03d856"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa409227a1b03127758a6038c2a959abe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#aa409227a1b03127758a6038c2a959abe">AbstractFactory</a> (<a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a> eManufacturer)</td></tr>
<tr class="separator:aa409227a1b03127758a6038c2a959abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b4a6965504d36aeb31ca9980649e09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#aa6b4a6965504d36aeb31ca9980649e09">SetManufacturer</a> (<a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a> eManufacturer)</td></tr>
<tr class="separator:aa6b4a6965504d36aeb31ca9980649e09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a2fbbcbd545174c97cb300b82856d6171"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#a2fbbcbd545174c97cb300b82856d6171">AbstractFactory</a> ()</td></tr>
<tr class="separator:a2fbbcbd545174c97cb300b82856d6171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93bbe0d54db0a5c38d4be6b502f3ae4d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#a93bbe0d54db0a5c38d4be6b502f3ae4d">AbstractFactory</a> (const <a class="el" href="class_abstract_factory.html">AbstractFactory</a> &amp;cAbstractFactory)</td></tr>
<tr class="separator:a93bbe0d54db0a5c38d4be6b502f3ae4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed400af527dfb1fd42eb320f21aae14d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_abstract_factory.html">AbstractFactory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#aed400af527dfb1fd42eb320f21aae14d">operator=</a> (const <a class="el" href="class_abstract_factory.html">AbstractFactory</a> &amp;cAbstractFactory)</td></tr>
<tr class="separator:aed400af527dfb1fd42eb320f21aae14d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af8b5aab716692ea2c55c1fd7dff74b05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_abstract_factory.html#af8b5aab716692ea2c55c1fd7dff74b05">m_eManufacturer</a></td></tr>
<tr class="separator:af8b5aab716692ea2c55c1fd7dff74b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8h_source.html#l00020">20</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8h_source.html">DESIGNPATTERN_AbstractFactory.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0ce427e8246baff926f0945d370bb419"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ce427e8246baff926f0945d370bb419">&#9670;&nbsp;</a></span>~AbstractFactory()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">AbstractFactory::~AbstractFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destruction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00052">52</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>

</div>
</div>
<a id="aa409227a1b03127758a6038c2a959abe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa409227a1b03127758a6038c2a959abe">&#9670;&nbsp;</a></span>AbstractFactory() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">AbstractFactory::AbstractFactory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a>&#160;</td>
          <td class="paramname"><em>eManufacturer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">MANUFACTURER_TYPE</td><td>eManufacturer </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
<p>Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00040">40</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>

</div>
</div>
<a id="a2fbbcbd545174c97cb300b82856d6171"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fbbcbd545174c97cb300b82856d6171">&#9670;&nbsp;</a></span>AbstractFactory() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">AbstractFactory::AbstractFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="a93bbe0d54db0a5c38d4be6b502f3ae4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93bbe0d54db0a5c38d4be6b502f3ae4d">&#9670;&nbsp;</a></span>AbstractFactory() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">AbstractFactory::AbstractFactory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_abstract_factory.html">AbstractFactory</a> &amp;&#160;</td>
          <td class="paramname"><em>cAbstractFactory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Copy Construction</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_abstract_factory.html">AbstractFactory</a>&amp; cAbstractFactory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abdc7e42931561b9e59629a4bd0026c68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdc7e42931561b9e59629a4bd0026c68">&#9670;&nbsp;</a></span>CreateDesktopComputerNormal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_computer.html">AbstractComputer</a> * AbstractFactory::CreateDesktopComputerNormal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create Computer</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>AbstractComputer* </dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00066">66</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_cgraph.png" border="0" usemap="#class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_cgraph" alt=""/></div>
<map name="class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_cgraph" id="class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_cgraph">
<area shape="rect" title=" " alt="" coords="5,74,215,115"/>
<area shape="rect" href="class_abstract_factory.html#a5f87d3ac2fdef80bd009e26b7130e5fb" title=" " alt="" coords="277,5,465,32"/>
<area shape="rect" href="class_abstract_factory.html#aa10a0fd3ef457c7b9397c0a2001d86d4" title=" " alt="" coords="263,56,479,83"/>
<area shape="rect" href="class_abstract_factory.html#ab7853111b7db910e0a8953aa062bdf2c" title=" " alt="" coords="269,107,473,133"/>
<area shape="rect" href="class_abstract_factory.html#ab988a1ff535f4c2f0ea6bd3cfe418745" title=" " alt="" coords="271,157,471,184"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_icgraph.png" border="0" usemap="#class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_icgraph" alt=""/></div>
<map name="class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_icgraph" id="class_abstract_factory_abdc7e42931561b9e59629a4bd0026c68_icgraph">
<area shape="rect" title=" " alt="" coords="115,5,324,47"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,13,67,39"/>
</map>
</div>

</div>
</div>
<a id="a5f87d3ac2fdef80bd009e26b7130e5fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f87d3ac2fdef80bd009e26b7130e5fb">&#9670;&nbsp;</a></span>CreateHost()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_host.html">Host</a> * AbstractFactory::CreateHost </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create <a class="el" href="class_host.html">Host</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Host* </dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>

<p>Implemented in <a class="el" href="class_m_i_x_factory.html#a188a3a9028be47d3ab4a79a3e08a296c">MIXFactory</a>, <a class="el" href="class_h_p_factory.html#ab9ae1470b9ed1fac365b75d4826abd0d">HPFactory</a>, <a class="el" href="class_a_s_u_s_factory.html#a3afbba7db45485c3fc34d7ea72708451">ASUSFactory</a>, and <a class="el" href="class_d_e_l_l_factory.html#a022482e7d119e327ae6df91e6dbd8ed9">DELLFactory</a>.</p>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00125">125</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory_a5f87d3ac2fdef80bd009e26b7130e5fb_icgraph.png" border="0" usemap="#class_abstract_factory_a5f87d3ac2fdef80bd009e26b7130e5fb_icgraph" alt=""/></div>
<map name="class_abstract_factory_a5f87d3ac2fdef80bd009e26b7130e5fb_icgraph" id="class_abstract_factory_a5f87d3ac2fdef80bd009e26b7130e5fb_icgraph">
<area shape="rect" title=" " alt="" coords="372,13,560,39"/>
<area shape="rect" href="class_abstract_factory.html#abdc7e42931561b9e59629a4bd0026c68" title=" " alt="" coords="115,5,324,47"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,13,67,39"/>
</map>
</div>

</div>
</div>
<a id="aa10a0fd3ef457c7b9397c0a2001d86d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa10a0fd3ef457c7b9397c0a2001d86d4">&#9670;&nbsp;</a></span>CreateKeyboard()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_keyboard.html">Keyboard</a> * AbstractFactory::CreateKeyboard </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create <a class="el" href="class_keyboard.html">Keyboard</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Keyboard* </dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>

<p>Implemented in <a class="el" href="class_m_i_x_factory.html#a635c8bd61ec834e93bece151a160cd1f">MIXFactory</a>, <a class="el" href="class_h_p_factory.html#aef72175d13cb0929213e615637320913">HPFactory</a>, <a class="el" href="class_a_s_u_s_factory.html#a5be756a45a3c95d9cd04675835158808">ASUSFactory</a>, and <a class="el" href="class_d_e_l_l_factory.html#af8a559cf419e20c08838bb2a9f982f2d">DELLFactory</a>.</p>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00095">95</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory_aa10a0fd3ef457c7b9397c0a2001d86d4_icgraph.png" border="0" usemap="#class_abstract_factory_aa10a0fd3ef457c7b9397c0a2001d86d4_icgraph" alt=""/></div>
<map name="class_abstract_factory_aa10a0fd3ef457c7b9397c0a2001d86d4_icgraph" id="class_abstract_factory_aa10a0fd3ef457c7b9397c0a2001d86d4_icgraph">
<area shape="rect" title=" " alt="" coords="372,13,588,39"/>
<area shape="rect" href="class_abstract_factory.html#abdc7e42931561b9e59629a4bd0026c68" title=" " alt="" coords="115,5,324,47"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,13,67,39"/>
</map>
</div>

</div>
</div>
<a id="ab7853111b7db910e0a8953aa062bdf2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7853111b7db910e0a8953aa062bdf2c">&#9670;&nbsp;</a></span>CreateMonitor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_monitor.html">Monitor</a> * AbstractFactory::CreateMonitor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create <a class="el" href="class_monitor.html">Monitor</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Monitor* </dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>

<p>Implemented in <a class="el" href="class_m_i_x_factory.html#a50b1452a9ef800994ce47b2d43759698">MIXFactory</a>, <a class="el" href="class_h_p_factory.html#a3222fa23da177618b79d7e2762ac0ee6">HPFactory</a>, <a class="el" href="class_a_s_u_s_factory.html#ab52cf7f9d7018605315572dbdba85664">ASUSFactory</a>, and <a class="el" href="class_d_e_l_l_factory.html#ac07df15cbb5cbe9ca83fb562dd8990aa">DELLFactory</a>.</p>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00110">110</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory_ab7853111b7db910e0a8953aa062bdf2c_icgraph.png" border="0" usemap="#class_abstract_factory_ab7853111b7db910e0a8953aa062bdf2c_icgraph" alt=""/></div>
<map name="class_abstract_factory_ab7853111b7db910e0a8953aa062bdf2c_icgraph" id="class_abstract_factory_ab7853111b7db910e0a8953aa062bdf2c_icgraph">
<area shape="rect" title=" " alt="" coords="372,13,576,39"/>
<area shape="rect" href="class_abstract_factory.html#abdc7e42931561b9e59629a4bd0026c68" title=" " alt="" coords="115,5,324,47"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,13,67,39"/>
</map>
</div>

</div>
</div>
<a id="ab988a1ff535f4c2f0ea6bd3cfe418745"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab988a1ff535f4c2f0ea6bd3cfe418745">&#9670;&nbsp;</a></span>CreateMouse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_mouse.html">Mouse</a> * AbstractFactory::CreateMouse </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create <a class="el" href="class_mouse.html">Mouse</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Mouse* </dd></dl>
<dl class="section note"><dt>Note</dt><dd></dd></dl>

<p>Implemented in <a class="el" href="class_m_i_x_factory.html#af1809112b68306569cb752532faebfb4">MIXFactory</a>, <a class="el" href="class_h_p_factory.html#a28d0bfdbd9be99e66fc0f7f7f5b20d49">HPFactory</a>, <a class="el" href="class_a_s_u_s_factory.html#a84beb96edd3ce08bc17adfa1947e0c2e">ASUSFactory</a>, and <a class="el" href="class_d_e_l_l_factory.html#a72e77d1aaa0d225e28075d43dde267f1">DELLFactory</a>.</p>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00080">80</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_abstract_factory_ab988a1ff535f4c2f0ea6bd3cfe418745_icgraph.png" border="0" usemap="#class_abstract_factory_ab988a1ff535f4c2f0ea6bd3cfe418745_icgraph" alt=""/></div>
<map name="class_abstract_factory_ab988a1ff535f4c2f0ea6bd3cfe418745_icgraph" id="class_abstract_factory_ab988a1ff535f4c2f0ea6bd3cfe418745_icgraph">
<area shape="rect" title=" " alt="" coords="372,13,572,39"/>
<area shape="rect" href="class_abstract_factory.html#abdc7e42931561b9e59629a4bd0026c68" title=" " alt="" coords="115,5,324,47"/>
<area shape="rect" href="_design_pattern_8cpp.html#a353674c5af92be7fb389265cde4e5e03" title=" " alt="" coords="5,13,67,39"/>
</map>
</div>

</div>
</div>
<a id="aa3d5b31d31c868bc633c30218e03d856"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3d5b31d31c868bc633c30218e03d856">&#9670;&nbsp;</a></span>GetManufacturer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a> AbstractFactory::GetManufacturer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>GetManufacturer</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">VOID</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>MANUFACTURER_TYPE </dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00152">152</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>

</div>
</div>
<a id="aed400af527dfb1fd42eb320f21aae14d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed400af527dfb1fd42eb320f21aae14d">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_abstract_factory.html">AbstractFactory</a>&amp; AbstractFactory::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_abstract_factory.html">AbstractFactory</a> &amp;&#160;</td>
          <td class="paramname"><em>cAbstractFactory</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Assignment</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_abstract_factory.html">AbstractFactory</a>&amp; cAbstractFactory </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_abstract_factory.html">AbstractFactory</a>&amp; </dd></dl>

</div>
</div>
<a id="aa6b4a6965504d36aeb31ca9980649e09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6b4a6965504d36aeb31ca9980649e09">&#9670;&nbsp;</a></span>SetManufacturer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> AbstractFactory::SetManufacturer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a>&#160;</td>
          <td class="paramname"><em>eManufacturer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>SetManufacturer</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">MANUFACTURER_TYPE</td><td>eManufacturer </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html#l00139">139</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af8b5aab716692ea2c55c1fd7dff74b05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8b5aab716692ea2c55c1fd7dff74b05">&#9670;&nbsp;</a></span>m_eManufacturer</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_product_def_8h.html#ac73ca32847343c10f73f1fa0b7b6ae3c">MANUFACTURER_TYPE</a> AbstractFactory::m_eManufacturer</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8h_source.html#l00128">128</a> of file <a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8h_source.html">DESIGNPATTERN_AbstractFactory.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/96_project/DesignPattern/04_AbstractFactory/groupinc/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8h_source.html">DESIGNPATTERN_AbstractFactory.h</a></li>
<li>C:/96_project/DesignPattern/04_AbstractFactory/<a class="el" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___abstract_factory_8cpp_source.html">DESIGNPATTERN_AbstractFactory.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
